﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class PhanquyenControl
    {
        private PhanquyenDataAccess phanquyendata = new PhanquyenDataAccess();
        public void insertphanquyenDG(PhanquyenInfo info)
        {
            phanquyendata.insertphanquyenDG(info);
        }
        public void insertphanquyenNV(PhanquyenInfo info)
        {
            phanquyendata.insertphanquyenNV(info);
        }
        public void updatephanquyen(PhanquyenInfo info)
        {
            phanquyendata.updatephanquyen(info);
        }
        public void deletephanquyen(PhanquyenInfo info)
        {
            phanquyendata.deletephanquyen(info);
        }
        public DataTable laydsphanquyen()
        {
            return phanquyendata.laydsphanquyen();
        }
        public void updatematkhau(PhanquyenInfo info)
        {
            phanquyendata.updatematkhau(info);
        }
    }
}
